package com.example.proyectoformulas;

import java.util.ArrayList;
import java.util.Collections;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentManager.OnBackStackChangedListener;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.AdapterView.OnItemClickListener;


public class PantallaInicial extends Fragment {
	public static final String PREFERENCES = "preferences";
	
	Context context = null;
	private View parentView;
	private SharedPreferences preferences = null;
	private SharedPreferences.Editor prefEditor = null;
	
	/*@Override
	public void onAttach(Activity activity) {
		super.onAttach(activity);
		main2 mainActivity = (main2) activity;
	}*/
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}
	
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		super.onCreateView(inflater, container, savedInstanceState);

		parentView = inflater.inflate(R.layout.inicial, container, false);		
		return parentView;	
	}

}
